package com.ktjiaoyu.crm.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ktjiaoyu.crm.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @InterfaceName : UserMapper
 * @Description :
 * @Author : Lzz
 * @Date: 2023/11/15 09:09:50
 */
public interface UserMapper extends BaseMapper<User> {

    User findUserByUsrName(@Param("usrName") String usrName);

    IPage<User> getAllUserList(IPage<User> page, @Param(Constants.WRAPPER)Wrapper<User> wrapper);

}
